import App from './App'
import * as API from './api/http.js'
import store from 'store/store.js'
// #ifndef VUE3
import Vue from 'vue'
uni.$http=API
uni.$showmsg=function(title="数据接收失败"){
  uni.showToast({
    title,
  })
}
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
    store,
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app,
    
  }
}
// #endif